package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallGoodsExtendDao;
import com.appkubes.mall.core.entity.MallGoodsExtend;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallGoodsExtendService extends AbstractBaseService<BaseMallGoodsExtendDao, MallGoodsExtend> {

    MallGoodsExtend getOneByEntity(MallGoodsExtend entity);

    List<MallGoodsExtend> selectListByEntity(MallGoodsExtend entity);

    IPage<MallGoodsExtend> selectPageByEntity(IPage<MallGoodsExtend> page);
    IPage<MallGoodsExtend> selectPageByEntity(PageVO pageVO);

    IPage<MallGoodsExtend> selectPageByEntity(MallGoodsExtend entity, IPage<MallGoodsExtend> page);
    IPage<MallGoodsExtend> selectPageByEntity(MallGoodsExtend entity, PageVO pageVO);

    IPage<MallGoodsExtend> selectPageByEntity(MallGoodsExtend entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallGoodsExtend entity);
}
